<?php
return CMap::mergeArray(
	require('main.php'),
	array(
		'name'=>'AWT',
		'modules'=>array(
			'resource'=>array(),
			'reference'=>array(),
			'presenter'=>array(),
		),'components'=>array(
			'user'=>array(
				// enable cookie-based authentication
				'allowAutoLogin'=>true,
				'loginUrl'=>array('site/login'),
			),
			// uncomment the following to enable URLs in path-format
			//*
			'urlManager'=>array(
				'rules'=>array(
					'faq'=>array('site/page','defaultParams'=>array(
						'view'=>'faq'
					)),'bank'=>array('site/page','defaultParams'=>array(
						'view'=>'bank'
					)),'latest'=>array('site/page','defaultParams'=>array(
						'view'=>'latest'
					)),'terms-and-conditions'=>array('site/page','defaultParams'=>array(
						'view'=>'term'
					))
				),
			),
		),
		// application-level parameters that can be accessed
		// using Yii::app()->params['paramName']
		'params'=>array(
			// this is used in contact page
			'salt' => 'justforvegetarian',
			'adminEmail'=>'webmaster@example.com',
			'organization_name'=>'Persatuan Kristian Gereja Antioch',
			'paging'=> array(
				'pageSize'=>20,
				'nextPageLabel'=>'Next',
				'prevPageLabel'=>'Prev',
				'firstPageLabel'=>'&lt;&lt;',
				'lastPageLabel'=>'&gt;&gt;',
				'header'=>'',
				'cssFile'=>false,
			),'flag'=>array(
				'artistStatus' => array(
					'1' => 'Draft',
					'2' => 'Publish',
				),'referenceType'=>array(
					'1'=>'Book','2'=>'CD'
				),'yesNo'=>array(
					'0'=>'No',
					'1'=>'Yes'
				),'lang'=>array(
					'1'=>'中文',
					'2'=>'English',
					'3'=>'Malay',
					'4'=>'Other',
				),'link_type_id'=>array(
					'1'=>'Same',
					'2'=>'Translate'
				)
			)
		),
	)
);

?>